#ifndef DIO_SERVING_REQUEST_H_
#define DIO_SERVING_REQUEST_H_

#include <fermat/dio/request.h>

namespace fermat {

class ServingRequest : public Request {
public:
    ServingRequest(
        const CompletionHandler& on_cmpl,
        const FileBasePtr& pfile,
        void* pbuffer, offset_type off_set, size_type len,
        ReadOrWriteType rwtype);

	    void serve();
};

}

#endif
